import { FormInstance } from "antd"
import { PortalDefination, PortalProperty } from "../declare"

export type PropertyEditorProps = {
  defination: PortalDefination
  values: Record<string, any>
  form: FormInstance
  isEntry?: boolean
  isToday?: boolean
  formChange?: (data: any)=> void
}

export type EditorFormProps = PropertyEditorProps & {
  value: any
  onChange: (value: any) => void

}
